package com.jwsoft.manager.core.integration;

import com.github.pagehelper.PageInfo;
import com.jwsoft.manager.common.vo.eduAddressSchoolReplace.EduAddressSchoolReplaceVO;
import com.jwsoft.manager.common.vo.eduAddressSchoolReplace.EduAddressSchoolReplaceKeyVO;
import com.jwsoft.manager.common.vo.eduAddressSchoolReplace.EduAddressSchoolReplaceQueryVO;
/**
 * 地址学区替换表业务本地接口
 *
 * @author zhiyuan
 * @since 2024-03-18
 */
public interface EduAddressSchoolReplaceIntegration {
    /** 分页查询 */
    PageInfo<EduAddressSchoolReplaceVO> getList(EduAddressSchoolReplaceQueryVO vo);
    /** 根据主键查询详情 */
    EduAddressSchoolReplaceVO getById(EduAddressSchoolReplaceKeyVO vo);
    /** 保存前统一校验*/
    void checkSave(EduAddressSchoolReplaceVO vo);
    /** 新增 */
    EduAddressSchoolReplaceVO add(EduAddressSchoolReplaceVO vo);
    /** 修改 */
    EduAddressSchoolReplaceVO edit(EduAddressSchoolReplaceVO vo);
    /** 根据主键删除 */
    void del(EduAddressSchoolReplaceKeyVO vo);

    /**
     * 地址学区替换
     * 替换edu_address_school中的数据
     * @param vo
     */
    void addressSchoolReplace(EduAddressSchoolReplaceVO vo);

    /**
     * 替换信息补全
     */
    void addressInfoComplement(EduAddressSchoolReplaceVO vo);
}
